package com.yanqu.road.entity.union;

import com.alibaba.fastjson.annotation.JSONField;
import com.yanqu.road.utils.BigIntegerDeserializer;

import java.math.BigInteger;

public class UnionBaseInfo {

	private long unionAliasId;             //商会别名编号，不能做key

	private String unionName = "";

	private int unionFlag;                 //会旗

	private long experience;

	private int memberCount;

	private boolean isAllowRandomJoin;
	@JSONField(deserializeUsing = BigIntegerDeserializer.class)
	private BigInteger totalEarnSpeed = BigInteger.ZERO;
	@JSONField(deserializeUsing = BigIntegerDeserializer.class)
	private BigInteger totalPatronsAbility = BigInteger.ZERO;
	@JSONField(deserializeUsing = BigIntegerDeserializer.class)
	private BigInteger paramValue = BigInteger.ZERO;

	private long masterUserId;

	private String masterNickName = "";

	private long masterVipExp;

	private String masterDecoration = "";

	private long serverId;

	private int hideVipAndAddress;

	private int sex; // 会长性别

	//是否跨服商会
	private boolean cross;

	private String unionFlagStr = "";

	private long honors;

	public long getUnionAliasId() {
		return unionAliasId;
	}

	public void setUnionAliasId(long unionAliasId) {
		this.unionAliasId = unionAliasId;
	}

	public String getUnionName() {
		return unionName;
	}

	public void setUnionName(String unionName) {
		this.unionName = unionName;
	}

	public int getUnionFlag() {
		return unionFlag;
	}

	public void setUnionFlag(int unionFlag) {
		this.unionFlag = unionFlag;
	}

	public long getExperience() {
		return experience;
	}

	public void setExperience(long experience) {
		this.experience = experience;
	}

	public int getMemberCount() {
		return memberCount;
	}

	public void setMemberCount(int memberCount) {
		this.memberCount = memberCount;
	}

	public boolean isAllowRandomJoin() {
		return isAllowRandomJoin;
	}

	public void setAllowRandomJoin(boolean allowRandomJoin) {
		isAllowRandomJoin = allowRandomJoin;
	}

	public BigInteger getTotalEarnSpeed() {
		return totalEarnSpeed;
	}

	public void setTotalEarnSpeed(BigInteger totalEarnSpeed) {
		this.totalEarnSpeed = totalEarnSpeed;
	}

	public BigInteger getTotalPatronsAbility() {
		return totalPatronsAbility;
	}

	public void setTotalPatronsAbility(BigInteger totalPatronsAbility) {
		this.totalPatronsAbility = totalPatronsAbility;
	}

	public BigInteger getParamValue() {
		return paramValue;
	}

	public void setParamValue(BigInteger paramValue) {
		this.paramValue = paramValue;
	}

	public long getMasterUserId() {
		return masterUserId;
	}

	public void setMasterUserId(long masterUserId) {
		this.masterUserId = masterUserId;
	}

	public String getMasterNickName() {
		return masterNickName;
	}

	public void setMasterNickName(String masterNickName) {
		this.masterNickName = masterNickName;
	}

	public long getMasterVipExp() {
		return masterVipExp;
	}

	public void setMasterVipExp(long masterVipExp) {
		this.masterVipExp = masterVipExp;
	}

	public String getMasterDecoration() {
		return masterDecoration;
	}

	public void setMasterDecoration(String masterDecoration) {
		this.masterDecoration = masterDecoration;
	}

	public long getServerId() {
		return serverId;
	}

	public void setServerId(long serverId) {
		this.serverId = serverId;
	}

	public int getHideVipAndAddress() {
		return hideVipAndAddress;
	}

	public void setHideVipAndAddress(int hideVipAndAddress) {
		this.hideVipAndAddress = hideVipAndAddress;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public boolean isCross() {
		return cross;
	}

	public void setCross(boolean cross) {
		this.cross = cross;
	}

	public String getUnionFlagStr() {
		return unionFlagStr;
	}

	public void setUnionFlagStr(String unionFlagStr) {
		this.unionFlagStr = unionFlagStr;
	}

	public long getHonors() {
		return honors;
	}

	public void setHonors(long honors) {
		this.honors = honors;
	}
}
